@{
    Layout = null;
}

<div class="content-heading">
    <!-- START Language list-->
    <div class="pull-right">
        <div uib-dropdown="" is-open="language.listIsOpen" class="btn-group">
            <button type="button" uib-dropdown-toggle="" class="btn btn-default">
                {{language.selected}}
                <span class="caret"></span>
            </button>
            <ul role="menu" class="dropdown-menu dropdown-menu-right animated fadeInUpShort">
                <li ng-repeat="(localeId, langName) in language.available">
                    <a ng-click="language.set(localeId, $event)" href="#">{{langName}}</a>
                </li>
            </ul>
        </div>
    </div>
    <!-- END Language list    -->
    Dashboard
    <small>{{ 'dashboard.WELCOME' | translate:{ appName: app.name } }} !</small>
</div>
    <!-- START widgets box-->
    <div class="row">
        <div class="col-lg-3 col-sm-6">
            <!-- START widget-->
            <div class="panel widget bg-primary">
                <div class="row row-table">
                    <div class="col-xs-4 text-center bg-primary-dark pv-lg">
                        <em class="icon-cloud-upload fa-3x"></em>
                    </div>
                    <div class="col-xs-8 pv-lg">
                        <div class="h2 mt0">1700</div>
                        <div class="text-uppercase">Uploads</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-3 col-sm-6">
            <!-- START widget-->
            <div class="panel widget bg-purple">
                <div class="row row-table">
                    <div class="col-xs-4 text-center bg-purple-dark pv-lg">
                        <em class="icon-globe fa-3x"></em>
                    </div>
                    <div class="col-xs-8 pv-lg">
                        <div class="h2 mt0">
                            700
                            <small>GB</small>
                        </div>
                        <div class="text-uppercase">Quota</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-3 col-md-6 col-sm-12">
            <!-- START widget-->
            <div class="panel widget bg-green">
                <div class="row row-table">
                    <div class="col-xs-4 text-center bg-green-dark pv-lg">
                        <em class="icon-bubbles fa-3x"></em>
                    </div>
                    <div class="col-xs-8 pv-lg">
                        <div class="h2 mt0">500</div>
                        <div class="text-uppercase">Reviews</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-3 col-md-6 col-sm-12">
            <!-- START date widget-->
            <div class="panel widget">
                <div class="row row-table">
                    <div class="col-xs-4 text-center bg-green pv-lg">
                        <!-- See formats: https://docs.angularjs.org/api/ng/filter/date-->
                        <now format="MMMM" class="text-sm"></now>
                        <br />
                        <now format="d" class="h2 mt0"></now>
                    </div>
                    <div class="col-xs-8 pv-lg">
                        <now format="EEEE" class="text-uppercase"></now>
                        <br />
                        <now format="h:mm" class="h2 mt0"></now>
                        <now format="a" class="text-muted text-sm"></now>
                    </div>
                </div>
            </div>
            <!-- END date widget    -->
        </div>
    </div>
    <!-- END widgets box-->
    <div class="row">
        <!-- START dashboard main content-->
        <div class="col-lg-9">
            <!-- START chart-->
            <div class="row">
                <div class="col-lg-12">
                    <!-- START widget-->
                    <div id="panelChart9" ng-controller="DashboardController as dash" class="panel panel-default">
                        <div class="panel-heading">
                            <paneltool tool-collapse="tool-collapse" tool-refresh="traditional"></paneltool>
                            <div class="panel-title">Inbound visitor statistics</div>
                        </div>
                        <div uib-collapse="panelChart9" class="panel-wrapper">
                            <div class="panel-body">
                                <flot dataset="dash.splineData" options="dash.splineOptions" height="250px"></flot>
                            </div>
                        </div>
                    </div>
                    <!-- END widget-->
                </div>
            </div>
            <!-- END chart-->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel widget">
                        <div class="row row-table">
                            <div class="col-md-2 col-sm-3 col-xs-6 text-center bg-info pv-xl">
                                <em class="wi wi-day-sunny fa-4x"></em>
                            </div>
                            <div class="col-md-2 col-sm-3 col-xs-6 pv br">
                                <div class="h1 m0 text-bold">32&deg;</div>
                                <div class="text-uppercase">Clear</div>
                            </div>
                            <div class="col-md-2 col-sm-3 hidden-xs pv text-center br">
                                <div class="text-info text-sm">10 AM</div>
                                <div class="text-muted text-md">
                                    <em class="wi wi-day-cloudy"></em>
                                </div>
                                <div class="text-info">
                                    <em class="wi wi-sprinkles"></em>
                                    <span class="text-muted">20%</span>
                                </div>
                                <div class="text-muted">27&deg;</div>
                            </div>
                            <div class="col-md-2 col-sm-3 hidden-xs pv text-center br">
                                <div class="text-info text-sm">11 AM</div>
                                <div class="text-muted text-md">
                                    <em class="wi wi-day-cloudy"></em>
                                </div>
                                <div class="text-info">
                                    <em class="wi wi-sprinkles"></em>
                                    <span class="text-muted">30%</span>
                                </div>
                                <div class="text-muted">28&deg;</div>
                            </div>
                            <div class="col-md-2 hidden-sm hidden-xs pv text-center br">
                                <div class="text-info text-sm">12 PM</div>
                                <div class="text-muted text-md">
                                    <em class="wi wi-day-cloudy"></em>
                                </div>
                                <div class="text-info">
                                    <em class="wi wi-sprinkles"></em>
                                    <span class="text-muted">20%</span>
                                </div>
                                <div class="text-muted">30&deg;</div>
                            </div>
                            <div class="col-md-2 hidden-sm hidden-xs pv text-center">
                                <div class="text-info text-sm">1 PM</div>
                                <div class="text-muted text-md">
                                    <em class="wi wi-day-sunny-overcast"></em>
                                </div>
                                <div class="text-info">
                                    <em class="wi wi-sprinkles"></em>
                                    <span class="text-muted">0%</span>
                                </div>
                                <div class="text-muted">30&deg;</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-4">
                    <!-- START widget-->
                    <div class="panel widget">
                        <div class="panel-body">
                            <div class="clearfix">
                                <h3 class="pull-left text-muted mt0">300</h3>
                                <em class="pull-right text-muted fa fa-coffee fa-2x"></em>
                            </div>
                            <div sparkline="" data-type="line" data-height="80" data-width="100%" data-line-width="2" data-line-color="{{colorByName('purple')}}" data-spot-color="#888" data-min-spot-color="{{colorByName('purple')}}" data-max-spot-color="{{colorByName('purple')}}"
                                 data-fill-color="" data-highlight-line-color="#fff" data-spot-radius="3" values="1,3,4,7,5,9,4,4,7,5,9,6,4" data-resize="true" class="pv-lg"></div>
                            <p>
                                <small class="text-muted">Actual progress</small>
                            </p>
                            <uib-progressbar value="80" type="info" class="progress-striped progress-xs">80%</uib-progressbar>
                        </div>
                    </div>
                    <!-- END widget-->
                </div>
                <div class="col-lg-8">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <div class="pull-right label label-danger">5</div>
                            <div class="pull-right label label-success">12</div>
                            <div class="panel-title">Team messages</div>
                        </div>
                        <!-- START list group-->
                        <scrollable height="180" class="list-group">
                            <!-- START list group item-->
                            <a href="#" class="list-group-item">
                                <div class="media-box">
                                    <div class="pull-left">
                                        <img src="~/Images/user/02.jpg" alt="Image" class="media-box-object img-circle thumb32" />
                                    </div>
                                    <div class="media-box-body clearfix">
                                        <small class="pull-right">2h</small>
                                        <strong class="media-box-heading text-primary">
                                            <span class="circle circle-success circle-lg text-left"></span>Catherine Ellis
                                        </strong>
                                        <p class="mb-sm">
                                            <small>Cras sit amet nibh libero, in gravida nulla. Nulla...</small>
                                        </p>
                                    </div>
                                </div>
                            </a>
                            <!-- END list group item-->
                            <!-- START list group item-->
                            <a href="#" class="list-group-item">
                                <div class="media-box">
                                    <div class="pull-left">
                                        <img src="~/Images/user/03.jpg" alt="Image" class="media-box-object img-circle thumb32" />
                                    </div>
                                    <div class="media-box-body clearfix">
                                        <small class="pull-right">3h</small>
                                        <strong class="media-box-heading text-primary">
                                            <span class="circle circle-success circle-lg text-left"></span>Jessica Silva
                                        </strong>
                                        <p class="mb-sm">
                                            <small>Cras sit amet nibh libero, in gravida nulla. Nulla facilisi.</small>
                                        </p>
                                    </div>
                                </div>
                            </a>
                            <!-- END list group item-->
                            <!-- START list group item-->
                            <a href="#" class="list-group-item">
                                <div class="media-box">
                                    <div class="pull-left">
                                        <img src="~/Images/user/09.jpg" alt="Image" class="media-box-object img-circle thumb32" />
                                    </div>
                                    <div class="media-box-body clearfix">
                                        <small class="pull-right">4h</small>
                                        <strong class="media-box-heading text-primary">
                                            <span class="circle circle-danger circle-lg text-left"></span>Jessie Wells
                                        </strong>
                                        <p class="mb-sm">
                                            <small>Cras sit amet nibh libero, in gravida nulla. Nulla...</small>
                                        </p>
                                    </div>
                                </div>
                            </a>
                            <!-- END list group item-->
                            <!-- START list group item-->
                            <a href="#" class="list-group-item">
                                <div class="media-box">
                                    <div class="pull-left">
                                        <img src="~/Images/user/12.jpg" alt="Image" class="media-box-object img-circle thumb32" />
                                    </div>
                                    <div class="media-box-body clearfix">
                                        <small class="pull-right">1d</small>
                                        <strong class="media-box-heading text-primary">
                                            <span class="circle circle-danger circle-lg text-left"></span>Rosa Burke
                                        </strong>
                                        <p class="mb-sm">
                                            <small>Cras sit amet nibh libero, in gravida nulla. Nulla...</small>
                                        </p>
                                    </div>
                                </div>
                            </a>
                            <!-- END list group item-->
                            <!-- START list group item-->
                            <a href="#" class="list-group-item">
                                <div class="media-box">
                                    <div class="pull-left">
                                        <img src="~/Images/user/10.jpg" alt="Image" class="media-box-object img-circle thumb32" />
                                    </div>
                                    <div class="media-box-body clearfix">
                                        <small class="pull-right">2d</small>
                                        <strong class="media-box-heading text-primary">
                                            <span class="circle circle-danger circle-lg text-left"></span>Michelle Lane
                                        </strong>
                                        <p class="mb-sm">
                                            <small>Mauris eleifend, libero nec cursus lacinia...</small>
                                        </p>
                                    </div>
                                </div>
                            </a>
                            <!-- END list group item-->
                        </scrollable>
                        <!-- END list group-->
                        <!-- START panel footer-->
                        <div class="panel-footer clearfix">
                            <div class="input-group">
                                <input type="text" placeholder="Search message .." class="form-control input-sm" />
                                <span class="input-group-btn">
                                    <button type="submit" class="btn btn-default btn-sm">
                                        <i class="fa fa-search"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                        <!-- END panel-footer-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END dashboard main content-->
        <!-- START dashboard sidebar-->
        <aside class="col-lg-3">
            <!-- START loader widget-->
            <div class="panel panel-default">
                <div class="panel-body">
                    <a href="#" class="text-muted pull-right">
                        <em class="fa fa-arrow-right"></em>
                    </a>
                    <div class="text-info">Average Monthly Uploads</div>
                    <canvas classyloader="" data-percentage="70" data-speed="20" data-font-size="40px" data-diameter="70" data-line-color="{{colorByName('info')}}" data-remaining-line-color="rgba(200,200,200,0.4)" data-line-width="10"
                            data-rounded-line="true" class="center-block"></canvas>
                    <div sparkline="" data-bar-color="{{colorByName('info')}}" data-height="30" data-bar-width="5" data-bar-spacing="2" values="5,4,8,7,8,5,4,6,5,5,9,4,6,3,4,7,5,4,7" class="text-center"></div>
                </div>
                <div class="panel-footer">
                    <p class="text-muted">
                        <em class="fa fa-upload fa-fw"></em>
                        <span>This Month</span>
                        <span class="text-dark">1000 Gb</span>
                    </p>
                </div>
            </div>
            <!-- END loader widget-->
            <!-- START messages and activity-->
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="panel-title">Latest activities</div>
                </div>
                <!-- START list group-->
                <div class="list-group">
                    <!-- START list group item-->
                    <div class="list-group-item">
                        <div class="media-box">
                            <div class="pull-left">
                                <span class="fa-stack">
                                    <em class="fa fa-circle fa-stack-2x text-purple"></em>
                                    <em class="fa fa-cloud-upload fa-stack-1x fa-inverse text-white"></em>
                                </span>
                            </div>
                            <div class="media-box-body clearfix">
                                <small class="text-muted pull-right ml">15m</small>
                                <div class="media-box-heading">
                                    <a href="#" class="text-purple m0">NEW FILE</a>
                                </div>
                                <p class="m0">
                                    <small>
                                        <a href="#">Bootstrap.xls</a>
                                    </small>
                                </p>
                            </div>
                        </div>
                    </div>
                    <!-- END list group item-->
                    <!-- START list group item-->
                    <div class="list-group-item">
                        <div class="media-box">
                            <div class="pull-left">
                                <span class="fa-stack">
                                    <em class="fa fa-circle fa-stack-2x text-info"></em>
                                    <em class="fa fa-file-text-o fa-stack-1x fa-inverse text-white"></em>
                                </span>
                            </div>
                            <div class="media-box-body clearfix">
                                <small class="text-muted pull-right ml">2h</small>
                                <div class="media-box-heading">
                                    <a href="#" class="text-info m0">NEW DOCUMENT</a>
                                </div>
                                <p class="m0">
                                    <small>
                                        <a href="#">Bootstrap.doc</a>
                                    </small>
                                </p>
                            </div>
                        </div>
                    </div>
                    <!-- END list group item-->
                    <!-- START list group item-->
                    <div class="list-group-item">
                        <div class="media-box">
                            <div class="pull-left">
                                <span class="fa-stack">
                                    <em class="fa fa-circle fa-stack-2x text-danger"></em>
                                    <em class="fa fa-exclamation fa-stack-1x fa-inverse text-white"></em>
                                </span>
                            </div>
                            <div class="media-box-body clearfix">
                                <small class="text-muted pull-right ml">5h</small>
                                <div class="media-box-heading">
                                    <a href="#" class="text-danger m0">BROADCAST</a>
                                </div>
                                <p class="m0">
                                    <a href="#">Read</a>
                                </p>
                            </div>
                        </div>
                    </div>
                    <!-- END list group item-->
                    <!-- START list group item-->
                    <div class="list-group-item">
                        <div class="media-box">
                            <div class="pull-left">
                                <span class="fa-stack">
                                    <em class="fa fa-circle fa-stack-2x text-success"></em>
                                    <em class="fa fa-clock-o fa-stack-1x fa-inverse text-white"></em>
                                </span>
                            </div>
                            <div class="media-box-body clearfix">
                                <small class="text-muted pull-right ml">15h</small>
                                <div class="media-box-heading">
                                    <a href="#" class="text-success m0">NEW MEETING</a>
                                </div>
                                <p class="m0">
                                    <small>
                                        On
                                        <em>10/12/2015 09:00 am</em>
                                    </small>
                                </p>
                            </div>
                        </div>
                    </div>
                    <!-- END list group item-->
                    <!-- START list group item-->
                    <div class="list-group-item">
                        <div class="media-box">
                            <div class="pull-left">
                                <span class="fa-stack">
                                    <em class="fa fa-circle fa-stack-2x text-warning"></em>
                                    <em class="fa fa-tasks fa-stack-1x fa-inverse text-white"></em>
                                </span>
                            </div>
                            <div class="media-box-body clearfix">
                                <small class="text-muted pull-right ml">1w</small>
                                <div class="media-box-heading">
                                    <a href="#" class="text-warning m0">TASKS COMPLETION</a>
                                </div>
                                <uib-progressbar value="22" type="warning" class="progress-xs m0">22%</uib-progressbar>
                            </div>
                        </div>
                    </div>
                    <!-- END list group item-->
                </div>
                <!-- END list group-->
                <!-- START panel footer-->
                <div class="panel-footer clearfix">
                    <a href="#" class="pull-left">
                        <small>Load more</small>
                    </a>
                </div>
                <!-- END panel-footer-->
            </div>
            <!-- END messages and activity-->
        </aside>
        <!-- END dashboard sidebar-->
    </div>



<div class="row" ng-controller="userController">
    <div class="col-md-12">
        求和:{{addResult}}
    </div>
</div>

<script type="text/javascript">
    (function() {
        var core = angular.module('app.core');

        core.controller('userController', [
            '$scope',
            'abp.services.angle.user',
            function ($scope, userService) {

                $scope.addResult = 0;

                /*userService.add(1, 2).then(function(data) {
                    console.log('user service add ->',data);
                });*/

                userService.add(1, 2).success(function(data) {
                    console.log('user service add ->', data);
                });

            }]);

    })();
</script>
